home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / jpl_c.zip / REDIRBUF.C < prev    next >
Text File  |  1986-05-18  |  768b  |  23 lines

  1. /* 1.0  05-07-85                              (redirbuf.c)
  2.  ************************************************************************
  3.  *            Robert C. Tausworthe                *
  4.  *            Jet Propulsion Laboratory            *
  5.  *            Pasadena, CA 91009        1985        *
  6.  ************************************************************************/
  7.  
  8. #include "defs.h"
  9. #include "stdtyp.h"
  10. #include "stdio.h"
  11.  
  12. /************************************************************************/
  13.     VOID
  14. redirbuf(fd)        /* Change the buffer allocation for stdin and 
  15.                stdout for redirected i/o.            */
  16. /*----------------------------------------------------------------------*/
  17. {
  18.     if (fd ISNT STDIN AND fd ISNT STDOUT)
  19.         return;
  20.  
  21.     IObuffs[fd]._buflen = BUFSIZ;
  22. }
  23.